package cn.yiyuan.car.query;

import cn.yiyuan.base.query.BaseQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @user m
 * @project Car_mall_system
 * @date 2024-01-08
 * @package cn.yiyuan.car.query
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarDocQuery extends BaseQuery {
    //==========高级查询条件============//
    private Long carType;  //类型
    private Double priceMin;//最小价格
    private Double priceMax;//最大价格
    private Integer carAgeMin;
    private Integer carAgeMax;
    //是否超值
    private Integer costeffective;
    //急售
    private Integer rushsale;
    //准新车
    private Integer quasinewcar;
    //可迁全国
    private Integer transitivecountry;
    //==========高级查询条件============//
    //==========排序条件============//
    private String orderField;//排序字段
    private String orderType; //排序类型 desc降序 asc升序号
    //根据品牌查询数据
    private String brand;

    //经纬度
    private Double lng;
    private Double lat;
    //距离(km) 地址
    private Integer distance;

}
